.dialog-block {
  position: absolute;
  top: 0;
  .content {
    position: relative;
    .title-wrapper {
      height: 13%;
      text-align: center;
      &.group {
        height: 15%;
      }
      .title {
        margin-top: 1.5rem;
        width: 7rem;
        &.big {
          margin-top: .9rem;
          width: 9rem;
        }
        &.small {
          margin-top: .6rem;
          width: 4rem;
        }
      }
    }
    .close {
      width: 2.5rem;
      position: absolute;
      // float: right;
      top: 16px;
      right: 16px;
    }
    .modal-wrapper {
      height: 87%;
      width: 100%;
    }
  }
  .mall-content {
    width: 24rem;
    height: 24rem;
    margin: 6rem auto 0;
    background-image: url(../../img/mall/dialog/mall-dialog.png);
    background-size: cover;
    background-repeat: no-repeat;
    .bottom-btn {
      width: 100%;
      position: absolute;
      bottom: 3rem;
      text-align: center;
      img {
        width: 36%;
      }
      .confirm {
        width: 35%;
        margin: 0 .5rem;
      }
    }
  }
  .group-content {
    width: 26rem;
    height: 22rem;
    margin: 8rem auto 0;
    background-image: url(../../img/styleImg/mall-dialog.png);
    background-size: contain;
    background-repeat: round;
    .bottom-btn {
      width: 100%;
      position: absolute;
      bottom: 2.8rem;
      text-align: center;
      img {
        width: 35%;
      }
      .confirm {
        width: 35%;
        margin: 0 .5rem;
      }
    }
  }
  .rules-content {
    width: 24rem;
    height: 28rem;
    margin: 3rem auto 0;
    background: #fff;
    border-radius: .5rem;
    .bottom-btn {
      width: 100%;
      position: absolute;
      bottom: 2rem;
      text-align: center;
      img {
        width: 40%;
      }
      .confirm {
        width: 35%;
        margin: 0 .5rem;
      }
    }
  }
}

.has-mask {
  // background-image: url(../../img/mall/back-mask.png);
  background-color: rgba(0,0,0, .46);
  background-size: cover;
  z-index: 1024;
}


.buy-row {
  padding-top: .8rem;
  padding-left: 2rem;
  padding-right: 1rem;
  color: #8d383d;
  .orange-text {
    color: #bd653a;
  }
  
  &.first {
    padding-top: 2rem;
  }
  &.larger {
    font-size: 1.3rem;
  }
  .invite-id {
    width: 17rem;
    background: #5f4e3d;
    border-radius: 0.8rem;
    font-size: 1.3rem;
    padding: .5rem;
    float: left;
    box-shadow: inset 0px 0px 4px #2a2a2a;
    color: #b7b3af!important;
    &.larger {
      height: 2.6rem;
      font-size: 2.5rem;
    }
    &.little-larger {
      height: 2.3rem;
      font-size: 1.8rem;
    }
  }
  .invite-btn {
    width: 4.5rem;
    float: left;
    margin-left: .8rem;
  }
}

.modal-content-wrapper {
  padding: 8px;
}